package com.lantosec.hmrp.modules.monitor.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lantosec.hmrp.core.kit.PageVO;
import com.lantosec.hmrp.modules.monitor.entity.WarningDataEntity;
import com.lantosec.hmrp.modules.monitor.entity.WarningTotalEntity;

import java.util.List;

public interface IMonitorWarningService extends IService<WarningTotalEntity> {

    WarningTotalEntity getWarningTotal(String month, String year);

    List<WarningTotalEntity> getWarningDisposalRate(String month, String year);

    List<WarningTotalEntity> getWarningDetailsList(String month, String year, Integer type,String deptId);

    Page<WarningDataEntity> getWarningData(PageVO<WarningDataEntity> page, String month, String year, Integer type, String ruleId, String deptId);

    List<WarningTotalEntity> getChargeDeptRate(String month, String year);

    Page<WarningDataEntity> getWarningWorkbench(PageVO<WarningDataEntity> page, String userId);

    Page<WarningDataEntity> getWarningHaveDoneDetails(PageVO<WarningDataEntity> page, String userId, String ruleId);

    List<WarningDataEntity> getWarningBacklog(String userId);

    Page<WarningDataEntity> getWarningBacklogDetails(PageVO<WarningDataEntity> page, String ruleId);
}
